﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;
namespace Entities.Admin
{
	[TableName("DiaChi")]
	public class DiaChi : BaseEntity<DiaChi>
	{
		[MapField("IdDiaChi"), PrimaryKey,Identity]
		public int IdDiaChi { get; set; }
		public String SoNha { get; set; }
		public String TenDuong { get; set; }
		public String QuanHuyen { get; set; }
		public String TinhTP { get; set; }

		public  override string ToString()
		{
			return string.Format("{0} {1}, {2}, {3}", SoNha, TenDuong, QuanHuyen, TinhTP);
		}
      
	}
}
